import { createApp } from 'vue'
import { ElButton } from 'element-plus'
import router from './router'
import App from './App.vue'

import './styles/index.scss'

const app = createApp(App)

// Element Plus
const components = [ElButton]
components.forEach((component) => {
  app.component(component.name, component)
})

app.use(router).mount('#app')
